import request from '@/utils/request'
//员工登录接口
export const employeeLogin=({username,password})=>{
    return request.post('/employee/login',{username,password})
}

//员工注册接口
export const employeeRegister=({username,password})=>{
    return request.post('/employee/register',{username,password})
}

//获取员工信息接口
export const getEmployeeInfo=()=>{
   return  request.get('/employee/current/info')
}
